package com.qili.entity.base;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.OrderBy;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * base_dict
 * @author
 */
@Table(name = "base_dict")
@Data
@ToString
@EqualsAndHashCode
@Component
public class BaseDict implements Serializable {
    @Id
    @Column(name = "BADT_NO")
    private Integer badtNo;
    /**
     * 字典编号
     */
    @Column(name = "BADT_CODE")
    private String badtCode;

    /**
     * 字典名称
     */
    @Column(name = "BADT_NAME")
    private String badtName;

    /**
     * 字典类型编号
     */
    @Column(name = "BADT_TYPECODE")
    private String badtTypecode;

    /**
     * 科室代码
     */


    @Column(name = "BADT_GROUPID")
    private String badtGroupid;

    /**
     * 等级1
     */
    @Column(name = "BADT_LEVEL1")
    private String badtLevel1;

    /**
     * 等级2
     */
    @Column(name = "BADT_LEVEL2")
    private String badtLevel2;

    /**
     * 等级3
     */
    @Column(name = "BADT_LEVEL3")
    private String badtLevel3;

    /**
     * 等级4
     */
    @Column(name = "BADT_LEVEL4")
    private String badtLevel4;

    /**
     * 等级5
     */
    @Column(name = "BADT_LEVEL5")
    private String badtLevel5;

    /**
     * 等级6
     */
    @Column(name = "BADT_LEVEL6")
    private String badtLevel6;

    /**
     * 等级7
     */
    @Column(name = "BADT_LEVEL7")
    private String badtLevel7;

    /**
     * 等级8
     */
    @Column(name = "BADT_LEVEL8")
    private String badtLevel8;

    /**
     * 等级9
     */
    @Column(name = "BADT_LEVEL9")
    private String badtLevel9;

    /**
     * 等级10
     */
    @Column(name = "BADT_LEVEL10")
    private String badtLevel10;
    /**
     * 等级11
     */
    @Column(name = "BADT_LEVEL11")
    private String badtLevel11;
    /**
     * 等级12
     */
    @Column(name = "BADT_LEVEL12")
    private String badtLevel12;
    /**
     * 等级13
     */
    @Column(name = "BADT_LEVEL13")
    private String badtLevel13;
    /**
     * 等级14
     */
    @Column(name = "BADT_LEVEL14")
    private String badtLevel14;

    /**
     * 是否有分包
     */

    @Column(name = "BADT_LEVEL15")
    private String badtLevel15;
    /**
     * 备注
     */

    @Column(name = "BADT_NOTE")
    private String badtNote;

    /**
     * 序号
     */
    @OrderBy
    @Column(name = "BADT_INDEX")
    private Integer badtIndex;

    private static final long serialVersionUID = 1L;
}
